package com.blue.wechat.pay.model;

/**
 * 统一下单请求参数
 * 
 * @author zhengjin
 * @date 2015年6月18日
 * 
 */
public class UnifiedOrderRequest
{
	private String appid; // 公众账号ID
	private String mchId; // 商户号
	private String nonceStr; // 随机字符串
	private String sign; // 签名
	private String body; // 商品描述
	private String outTradeNo; // 商户订单号
	private Integer totalFee; // 总金额，单位分
	private String spbillCreateIp; // 终端IP
	private String notifyUrl; // 通知地址
	private TradeType tradeType; // 交易类型
	private String openid; // 用户标识

	/* 非必填 */
	private String deviceInfo = "WEB"; // 设备号
	private String detail; // 商品详情
	private String attach; // 附加数据
	private String feeType = "CNY"; // 货币类型
	private String timeStart; // 交易起始时间，格式：yyyyMMddHHmmss
	private String timeExpire; // 交易结束时间，格式：yyyyMMddHHmmss
	private String goodsTag; // 商品标记
	private String productId; // 商品ID
	private String limitPay; // 指定支付方式，no_credit--可限制用户不能使用信用卡支付

	public UnifiedOrderRequest()
	{
	}

	public String getAppid()
	{
		return appid;
	}

	public void setAppid(String appid)
	{
		this.appid = appid;
	}

	public String getMchId()
	{
		return mchId;
	}

	public void setMchId(String mchId)
	{
		this.mchId = mchId;
	}

	public String getNonceStr()
	{
		return nonceStr;
	}

	public void setNonceStr(String nonceStr)
	{
		this.nonceStr = nonceStr;
	}

	public String getSign()
	{
		return sign;
	}

	public void setSign(String sign)
	{
		this.sign = sign;
	}

	public String getBody()
	{
		return body;
	}

	public void setBody(String body)
	{
		this.body = body;
	}

	public String getOutTradeNo()
	{
		return outTradeNo;
	}

	public void setOutTradeNo(String outTradeNo)
	{
		this.outTradeNo = outTradeNo;
	}

	public Integer getTotalFee()
	{
		return totalFee;
	}

	public void setTotalFee(Integer totalFee)
	{
		this.totalFee = totalFee;
	}

	public String getSpbillCreateIp()
	{
		return spbillCreateIp;
	}

	public void setSpbillCreateIp(String spbillCreateIp)
	{
		this.spbillCreateIp = spbillCreateIp;
	}

	public String getNotifyUrl()
	{
		return notifyUrl;
	}

	public void setNotifyUrl(String notifyUrl)
	{
		this.notifyUrl = notifyUrl;
	}

	public TradeType getTradeType()
	{
		return tradeType;
	}

	public void setTradeType(TradeType tradeType)
	{
		this.tradeType = tradeType;
	}

	public String getOpenid()
	{
		return openid;
	}

	public void setOpenid(String openid)
	{
		this.openid = openid;
	}

	public String getDeviceInfo()
	{
		return deviceInfo;
	}

	public void setDeviceInfo(String deviceInfo)
	{
		this.deviceInfo = deviceInfo;
	}

	public String getDetail()
	{
		return detail;
	}

	public void setDetail(String detail)
	{
		this.detail = detail;
	}

	public String getAttach()
	{
		return attach;
	}

	public void setAttach(String attach)
	{
		this.attach = attach;
	}

	public String getFeeType()
	{
		return feeType;
	}

	public void setFeeType(String feeType)
	{
		this.feeType = feeType;
	}

	public String getTimeStart()
	{
		return timeStart;
	}

	public void setTimeStart(String timeStart)
	{
		this.timeStart = timeStart;
	}

	public String getTimeExpire()
	{
		return timeExpire;
	}

	public void setTimeExpire(String timeExpire)
	{
		this.timeExpire = timeExpire;
	}

	public String getGoodsTag()
	{
		return goodsTag;
	}

	public void setGoodsTag(String goodsTag)
	{
		this.goodsTag = goodsTag;
	}

	public String getProductId()
	{
		return productId;
	}

	public void setProductId(String productId)
	{
		this.productId = productId;
	}

	public String getLimitPay()
	{
		return limitPay;
	}

	public void setLimitPay(String limitPay)
	{
		this.limitPay = limitPay;
	}

}
